package com.example.lib_common.websocket

import org.java_websocket.handshake.ServerHandshake

/**
 * @author yaotianxue
 * @description
 * @date 2025/3/4
 */
interface ReceiverMsgListener {
    fun onOpen(handshakedata: ServerHandshake?)
    fun onMessage(message: String?)
    fun onClose(code: Int, reason: String?, remote: Boolean)
    fun onError(ex: Exception?)
}